|
Eclipse Platform Pre-release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.progress.DeferredTreeContentManager
The DeferredContentManager is a class that helps an ITreeContentProvider get its deferred input.
IDeferredWorkbenchAdapter
Constructor Summary | |
DeferredTreeContentManager(ITreeContentProvider provider,
AbstractTreeViewer viewer)
Create a new instance of the receiver using the supplied content provider and viewer. |
Method Summary | |
void |
cancel(Object parent)
Cancel all jobs that are fetching content for the given parent or any of its children. |
Object[] |
getChildren(Object parent)
Returns the child elements of the given element, or in the case of a deferred element, returns a placeholder. |
boolean |
isDeferredAdapter(Object element)
Return whether or not the element is or adapts to an IDeferredWorkbenchAdapter. |
boolean |
mayHaveChildren(Object element)
Provides an optimized lookup for determining if an element has children. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DeferredTreeContentManager(ITreeContentProvider provider, AbstractTreeViewer viewer)
provider
- viewer
- Method Detail |
public boolean mayHaveChildren(Object element)
getChildren
just to determine the potential for children.
Throw an AssertionFailedException if element is not an instance of
IDeferredWorkbenchAdapter.
element
- Object
public Object[] getChildren(Object parent)
parent
- The parent object.
null
if parent is not an instance
of IDeferredWorkbenchAdapter.public boolean isDeferredAdapter(Object element)
element
-
true
if the element is an
IDeferredWorkbenchAdapterpublic void cancel(Object parent)
parent
-
|
Eclipse Platform Pre-release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |